package com.suxin.exception;


import com.suxin.exception.bussine.ExceptionOne;
import com.suxin.exception.bussine.ExceptionOneHandler;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author Tang
 * @classname ExceptionRegisterKingA
 * @description [  ]
 * @date 2022/10/12 10:26
 */
public class ExceptionRegisterKingA extends AbstractExceptionRegister {

    @Override
    public void doRegister(Map<Class<? extends RuntimeException>, AbstractRuntimeExceptionHandler> runtimeExceptionMap) {
        runtimeExceptionMap.put(ExceptionOne.class, new ExceptionOneHandler());
    }

}
